package com.buwei.infrastructure.response;

import java.util.List;

import lombok.AccessLevel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor(access=AccessLevel.PRIVATE)
public class CascadeSelectResponse {

	/**
	 * 逻辑主键（唯一约束字段）
	 */
	Object value;
	
	/**
	 * 文本
	 */
	String label;
	
	/**
	 * 子集
	 */
	List<CascadeSelectResponse> children;

	public CascadeSelectResponse(Object value, String label) {
		super();
		this.value = value;
		this.label = label;
	}
	
	
}